package com.shycloud.mido.opter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName(value = "stock_exchange_goods")
public class StockExchangeGoods {
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/** 订单编号 */
	@TableField(value = "order_no")
	private Long orderNo;

	/**
	 * 机构ID
	 */
	@TableField(value = "org_id")
	private Integer orgId;

	/**
	 * 运营商ID
	 */
	@TableField(value = "opt_id")
	private Integer optId;
	/**
	 * 地址
	 */
	@TableField(value = "`location`")
	private String location;

	/**
	 * 制单人
	 */
	@TableField(value = "create_user")
	private String createUser;

	/**
	 * 附件地址
	 */
	@TableField(value = "url")
	private String url;

	/**
	 * 备注
	 */
	@TableField(value = "`comment`")
	private String comment;

	/**
	 * 市
	 */
	@TableField(value = "city")
	private String city;

	/**
	 * 省
	 */
	@TableField(value = "province")
	private String province;

	/** 联系人姓名 */
	@TableField(value = "leader")
	private String leader;

	/** 联系人电话 */
	@TableField(value = "phone")
	private String phone;

	@TableField(value = "create_date")
	private LocalDateTime createDate;

	@TableField(value = "is_commit")
	private String isCommit;

	@TableField(value = "warehouse_id")
	private Integer warehouseId;

	public static final String COL_ID = "id";

	public static final String COL_OPT_ID = "opt_id";

	public static final String COL_LOCATION = "location";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_URL = "url";

	public static final String COL_COMMENT = "comment";

	public static final String COL_CITY = "city";

	public static final String COL_PROVINCE = "province";

	public static final String COL_LEADER = "leader";

	public static final String COL_PHONE = "phone";
	public static final String COL_CREATE_DATE = "create_date";
	public static final String COL_IS_COMMIT = "is_commit";
}